package com.enterprise.controller.manage;


import com.enterprise.controller.BaseController;
import com.enterprise.entity.Enterprise;
import com.enterprise.service.EnterpriseService;
import com.enterprise.service.Services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/manage/enterprise/")
public class EnterpriseAction extends BaseController<Enterprise>{
	private static final String page_toList = "/manage/enterprise/enterpriseList";
	private static final String page_toEdit = "/manage/enterprise/enterpriseInfo";
	private static final String page_toAdd = "/manage/enterprise/enterpriseInfo";
	public EnterpriseAction() {
		super.page_toList = page_toList;
		super.page_toEdit = page_toEdit;
		super.page_toAdd = page_toAdd;
	}

	@Autowired
	private EnterpriseService enterpriseService;

	@Override
	public Services<Enterprise> getService() {
		return enterpriseService;
	}


}
